<!--
 * @Author: Karl Liris
 * @Date: 2021-02-26 10:17:54
 * @LastEditTime: 2021-02-26 10:31:54
-->
<template>
  <div>Hif</div>
</template>

<script>
import axios from 'axios';

export default {
  mounted() {
    // this.$electron.ipcRenderer.send('checkSession');
    axios.get('https://bi.tcsl.com.cn/bi_proxy/api/bigscreen/share/report/status/210114114127000999/0').then(({ data }) => {
      console.log(data);
      if (!data.success) {
        this.$router.push('/login');
      }
    });
  },
}
</script>